package Code.Day10_20241011.com.dx.day10;

/**
 * @ClassName Test02
 * @Description 枚举类、包装类、Math、Random、日期时间类、正则表达式
 * @Author 12994
 * @Date 2024/10/11 10:37
 * @Version 1.0
 **/
public class Test02 {
    public static void main(String[] args) {
        Student student = new Student();
        student.setJob(Subject.L1);
        student.setSex(Genders.Female);
        System.out.println(student);

        Subject subject1 = Subject.L1;
        Subject subject = student.getJob();
        System.out.println(subject);
        System.out.println(subject.getJob());
    }
}

